using System.Collections.Generic;
using Beetle;

internal class ax
{
	public o a;

	public y b;

	public List<IMessage> c;

	public bool e()
	{
		if (b != null)
		{
			y y2 = b;
			b = null;
			y y3 = y2.m;
			y2.m = null;
			a.a(y2);
			if (y3 != null)
			{
				b = y3;
				return true;
			}
		}
		return false;
	}

	public void d()
	{
		y y2 = b;
		b = null;
		y y3 = null;
		while (y2 != null)
		{
			y3 = y2.m;
			y2.m = null;
			a.a(y2);
			y2 = y3;
		}
	}
}
